using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class UserControls_UsersZoneMenu : BaseZoneMenu
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            lnkList.Visible = true;
            lnkUserDetails.Visible = false;
            lnkUserRoles.Visible = false;
            lnkRoles.Visible = false;

            BaseUserPage page = Page as BaseUserPage;
            if (page != null)
            {
                if (page.CurrentUser != null)
                {
                    lnkUserDetails.Visible = true;
                    lnkUserRoles.Visible = true;
                }
            }

            SetIfSelected(lnkList);

            SetQuerystring(lnkUserDetails, page.CurrentUserId, "Id");
            SetIfSelected(lnkUserDetails);

            SetQuerystring(lnkUserRoles, page.CurrentUserId, "Id");
            SetIfSelected(lnkUserRoles);
        }

        
    }

}
